import { Button } from 'antd-mobile'
import MyTabBar from './components/TabBar/index'


import { BrowserRouter as Router, Routes, Route, Link } from "react-router-dom"
import CityList from './pages/CityList';
import Home from './pages/Home';
import Me from './pages/Me/me';


function App() {
  return (
    <Router>
      <div className="App">
        <ul>
          <MyTabBar></MyTabBar> 
        </ul>
        <Route path="/home" component={Home} />
        <Route path="/citylist" component={CityList} />
        <Route path="/me" component={Me} />
      </div>
    </Router>
  );
}

export default App;
